﻿using Rsd.Dudu;
using Rsd.Dudu.Helpers;
using Rsd.Dudu.Web;
using Rsd.Dudu.Web.Core;
using Rsd.Dudu.Web.MVC;

using Rsd.Faith.Core;
using Rsd.Faith.Fiscal.Core;
using Rsd.Faith.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Rsd.Faith.Fiscal.Controllers
{
    /// <summary>
    /// 【暂未开发】
    /// 账户账面核算：对账面数据进行重新核算
    /// 
    /// 小区，楼栋，单元，分户 
    /// </summary>
    public class BookController : Rsd.Faith.Core.FaithController
    {
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        [ApiService("Index", false)]
        public override object Index()
        {
            //MyType.InitialTable<BookTongChouZhangHuModel>( Dudu.DBServices.TableExistOperationType.AlterAndDropColumn);
            //MyType.InitialTable<BookTongChouZhangHuLiuShuiModel>(Dudu.DBServices.TableExistOperationType.AlterAndDropColumn);
            return base.Index();
        }

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public object UpdateXiaoQuMingCheng()
        {
            ////更新 book__xiao_qu_zong_zhang 名称 
            //var sql_update_book_xiaoqu_ming_cheng = "update book__xiao_qu_zong_zhang a , info__xiao_qu__wu_ye_biao b set a.xiao_qu_ming_cheng = b.ming_cheng where a.xiao_qu_bian_hao = b.bian_hao";

            return null;
        }
    }
}
